#ifndef __MENULAYER_H__
#define __MENULAYER_H__
#include "cocos2d.h"
class MenuLayer : public cocos2d::CCLayer
{
public:
	MenuLayer();
	~MenuLayer();
	bool init();
	CREATE_FUNC(MenuLayer);
private:
	void createBackground();
	void createMenu();
	void setSoundAndMusicVolume(float soundVolume,float musicVolume);
	void resume(cocos2d::CCObject* pSender);
	void sound(cocos2d::CCObject* pSender);
	void music(cocos2d::CCObject* pSender);
private:
	cocos2d::CCMenuItemToggle* _sound;
	cocos2d::CCMenuItemToggle* _music;
};

#endif